package com.rock.code.bigdata.database.controller;

import com.rock.code.base.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
/**
 * @author piandu
 * @description 数据库(Mysql)
 * @date 2018/9/14 16/34
 */
@Controller
@RequestMapping("/MySql")
public class MysqlViewController extends BaseController {


    @RequestMapping("/{UNIT_ID}/{DATE_TYPE}")
    public String host(@PathVariable("UNIT_ID") String UNIT_ID,@PathVariable("DATE_TYPE") String DATE_TYPE) {
        this.request.setAttribute("UNIT_ID", UNIT_ID);
        this.request.setAttribute("DATE_TYPE",DATE_TYPE);
        return "bigdata/database/MysqlView";
    }
}
